projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9abb5be
)
fix leak in jeeps serial comm on posix. (#1223)
author
tsteven4
<13596209+tsteven4@users.noreply.github.com>
Thu, 16 Nov 2023 21:30:05 +0000
(14:30 -0700)
committer
GitHub
<noreply@github.com>
Thu, 16 Nov 2023 21:30:05 +0000
(14:30 -0700)
see #1221
jeeps/gpsserial.cc
patch
|
blob
|
history
diff --git
a/jeeps/gpsserial.cc
b/jeeps/gpsserial.cc
index 164054bc3225fb7ac8e1abc0bc44f20c6f09073a..6e20b55748288fb34e27ceb8fd26bd436298dce6 100644
(file)
--- a/
jeeps/gpsserial.cc
+++ b/
jeeps/gpsserial.cc
@@
-604,6
+604,7
@@
int32_t GPS_Serial_Off(gpsdevh* dh)
gps_errno = HARDWARE_ERROR;
return 0;
}
+ xfree(dh);
return 1;
}